# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=mako
pkgver=1.4.1
pkgrel=2
pkgdesc="A lightweight notification daemon for Wayland"
url="https://wayland.emersion.fr/mako/"
arch="all"
license="MIT"
options="!check" # contains no test suite
makedepends="
	cairo-dev
	elogind-dev
	gdk-pixbuf-dev
	glib-dev
	meson
	ninja
	pango-dev
	scdoc
	wayland-dev
	wayland-protocols
	"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/emersion/mako/archive/v$pkgver.tar.gz"

build() {
	abuild-meson \
		-Dicons=enabled \
		. output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output

}

sha512sums="25b0f59645c1815d8bdba42cedd6f56163ff663cd801a534c4c725c99e9a8cc28aef1d2c899d30cca06f0c6ddfa4a8e6efa01e5e98091347bcfc80d596f16d43  mako-1.4.1.tar.gz"
